#include<reg52.h>

void delay(unsigned int time){
	unsigned int i,j;
	for(i=0;i<time;i++){
		for(j=0;j<1024;j++);
	}
}
void initial_gpio(void){
		P1 = 0XFF;
}

void LEDFlicker(){
	P1 &=~0x01;
	delay(100);
	P1 |=0X01;
	delay(100);

}
void main(void){
	initial_gpio();
	for(;;){
		LEDFlicker();
	}
}